package ioexercise;

public class Demo {
    public static void main(String[] args) {
        Aoo o1 = new Aoo();
        o1.a = 5;
        Aoo o2 = o1;
        o2.a = 8;
        System.out.println(o1.a);//8
    }
}

class Aoo{
    int a ;
}